SIP URIs and LDAP Queries for Microsoft Skype Presence Feature

When the device is configured to interwork with Microsoft Skype for Business presence feature for third-party endpoints (non-Microsoft endpoints), the device needs to query the LDAP server with the calling and/or called numbers of the third-party endpoints and then retrieve the corresponding SIP URIs of the Skype users. This is the URI that the device uses as the Request-URI in the PUBLISH message that it sends to the Skype for Business Server to indicate change of presence.

The device uses the following syntax in Call Setup Rules in the Action Subject field for these SIP URIs:

Syntax:

Source SIP URI:
presence.src
Destination SIP URI:
presence.dst

For example, to search for a called mobile number, the searched LDAP Attribute is "mobile" set to the value of the destination number ('mobile=+' + param.call.dst.user). If the entry exists, the query searches for the Attribute userPrincipalName where the SIP URI is defined for the corresponding mobile user. If found, the query returns the Attribute value (i.e., URI) to the device (instructed using the special 'Condition' string "presence.dst" or "presence.src").

Source and Destination SIP URIs for Skype for Business Presence

Request Type

Request Key

Attributes To Get

Condition

Action Subject

Action Type

Action Value

LDAP

'mobile=+' + param.call.dst.user

userPrincipalName

ldap.attr.mobile exists

presence.dst

Add

ldap.attr.userPrincipalName

LDAP

'mobile=+' + param.call.src.user

userPrincipalName

ldap.attr.mobile exists

presence.src

Add

ldap.attr.userPrincipalName